<link rel="stylesheet" type="text/css" href="templates/csshorizontalmenu.css" />

<script type="text/javascript" src="templates/csshorizontalmenu.js"></script>

<table width="100%" cellpadding="0" cellspacing="0" border="0">

<tr>

	<td height="60">

		<table width="100%" border="0">		 
		 <tr>

		  <td rowspan="2" style="text-align: left;color:#CB0101;"><h1>SHIP ON A DRIP</h1></td>
		  <td style="text-align: right;color:#CB0101;"><a href="logoff.php" class="headerlinks">Log out</a></td>

		  <td valign="bottom" align="right" >		  
		  
			<?php		 

		if(isset($_SESSION['username']) && $_SESSION['username']=='admin@test.com')
		{
	?>
<a href="add_experts.php" class="headerlinks">Add Expert</a> | <a href="add_user.php" class="headerlinks">Add User</a> | <a href="add_vendor.php" class="headerlinks">Add Vendor</a> | <a href="addcategory.php" class="headerlinks">Add Vendor Category</a> | <a href="addsubcategory.php" class="headerlinks">Add Vendor Sub-Category</a> | <a href="expert_category.php" class="headerlinks">Add Expert Category</a>
<?php
		}		
		  if(isset($_SESSION['user_id']))

			{

			?>

		  <a href="logoff.php" class="headerlinks">Logout</a>

          <?php

		  }
		  else
		  {
			  ?>
          <!--<a href="login.php" class="headerlinks">Login</a><br /><br />-->
	<?php
		  }
		  ?>
          </td>

		 </tr>

		 <tr>

		  <td class="welcome">
		  <?php if(isset($_SESSION['user_id'])){ 

		  echo 'Welcome';?>		  

		   <?php echo $_SESSION['fname'];?>&nbsp;<?php echo $_SESSION['lname']; }?></td>

		 </tr>

		</table>

		</td>

   </tr>
   <tr>	
    <td height="49" class="topmenu">
    	<div class="horizontalcssmenu">
            <ul id="cssmenu1">
            <li><a href="index.php">HOME</a></li>
			 <li><a href="login.php">LOGIN</a></li>
			<li><a href="viewvendors.php">VENDOR</a></li>
            <li><a href="expert.php">EXPERT</a></li>
			<li><a href="user.php">USERS</a></li>
			<li><a href="add_faq.php">FAQ</a></li>
			<li><a href="search_quastion.php">SEARCH QUESTION</a></li>
			<li><a href="ask_expert.php">ASK AN EXPERT</a></li>
            
            </ul>
            <br style="clear: left;" />
        </div>
</td>        
   </tr>

   
</table>